package com.ssy.lingxi.product.serviceImpl.saleorder.invoicestype;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.product.api.model.request.warehouse.InvoicesAddRequest;
import com.ssy.lingxi.product.api.model.request.warehouse.InvoicesUpdataRequest;
import com.ssy.lingxi.product.entity.warehouse.Invoices;
import com.ssy.lingxi.product.service.saleorder.invoicestype.InvoicesTypeStrategy;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 采购入库单业务处理
 *
 * @author wrc
 * @date 2020/12/21
 */
@Service("purchaseInvoices")
public class PurchaseOrderImpl implements InvoicesTypeStrategy {


    /**
     * 添加单据-采购入库单业务处理
     */
    @Override
    public Wrapper invoicesAdd(Invoices invoices, InvoicesAddRequest request, UserLoginCacheDTO sysUser) {
        return null;
    }

    /**
     * 修改单据-采购入库单
     */
    @Override
    public Wrapper invoicesUpdata(Invoices invoices, InvoicesUpdataRequest request) {
        return Wrapper.success();
    }

    /**
     * 批量审核单据
     *
     * @author wrc
     * @date 2020/12/29
     */
    @Override
    public Wrapper invoicesReviewAll(List<Invoices> invoicess, UserLoginCacheDTO sysUser) {
        return Wrapper.success();
    }
}
